home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7873 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: quadostimpy.natinst.com!user
  2. From: rcauvin@natinst.com (Roger L. Cauvin)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Pure Virtual Destructor Question
  5. Date: 19 Feb 1996 14:58:26 GMT
  6. Organization: National Instruments
  7. Message-ID: <rcauvin-0802960903220001@quadostimpy.natinst.com>
  8. References: <4fas7a$7ns@comet2.magicnet.net> <4fecq0$k4e@news4.digex.net> <rcauvin-0902960901140001@quadostimpy.natinst.com> <4fp5r2$dm2@news4.digex.net> <rcauvin-0602960913040001@quadostimpy.natinst.com> <4fqmp5$pbi@stc06.ctd.ornl.gov> <4g8cds$7do@news4.digex.net>
  9. NNTP-Posting-Host: quadostimpy.natinst.com
  10.  
  11. In article <4g8cds$7do@news4.digex.net>, ell@access4.digex.net (Ell) wrote:
  12.  
  13. > : > All that abstractness
  14. > : > implies is that it is not appropriate to instantiate an object of the
  15. > : > class directly, since the class is incompletely defined.  
  16. > I'll stick with the ARM and DWP on this one.
  17.  
  18. ...
  19.  
  20. > Again, I'll stick with the ARM and DWP on what is or isn't an "abstract 
  21. > class".
  22.  
  23. It doesn't matter.  Either way you're wrong.
  24.  
  25. Assuming the conceptual definition of "abstract class", there is no
  26. inconsistency between the C++ programming language's treatment of pure
  27. virtual destructors and other pure virtual member functions.  In either
  28. case, a class may conceptually be abstract in the sense that it is not
  29. intended to be instantiated.
  30.  
  31. Assuming the ARM and DWP definition of "abstract class", there is still no
  32. inconsistency between the C++ programming language's treatment of pure
  33. virtual destructors and other pure virtual member functions.  Both
  34. destructors and other member functions may be declared virtual and provide
  35. implementations (whether complete or not).
  36.  
  37.  
  38. Roger
  39.  
  40. ---
  41.  
  42. Roger L. Cauvin
  43. rcauvin@natinst.com
  44. Software Engineer
  45. National Instruments
  46.